﻿using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using System.Threading.Tasks;


namespace AnimationTool
{
    class CAnimation
    {
        string animName = "new";

        public string AnimName
        {
            get { return animName; }
            set { animName = value; }
        }


        string imageName = "";

        public string ImageName
        {
            get { return imageName; }
            set { imageName = value; }
        }

        int numFrames = 0;

        public int NumFrames
        {
            get { return numFrames; }
            set { numFrames = value; }
        }

        int backColorR = 0;

        public int BackColorR
        {
            get { return backColorR; }
            set { backColorR = value; }
        }

        int backColorG = 0;

        public int BackColorG
        {
            get { return backColorG; }
            set { backColorG = value; }
        }

        int backColorB = 0;

        public int BackColorB
        {
            get { return backColorB; }
            set { backColorB = value; }
        }

        bool isPlaying = true;

        public bool IsPlaying
        {
            get { return isPlaying; }
            set { isPlaying = value; }
        }

        bool isLooping = false;

        public bool IsLooping
        {
            get { return isLooping; }
            set { isLooping = value; }
        }

       public List<CFrame> frameList = new List<CFrame>();

       public override string ToString()
       {
           return AnimName;
       }

    }
}
